#ifndef Classifier_H_
#define Classifier_H_

#include "FeatureResponse.h"
#include "../FeaturePatch.h"
#include "../IntegralImageFeature.h"
#include <iostream>
#include <fstream>
namespace findobject{

class Classifier {
public:
	FeaturePatch * patch;
	Classifier();
	virtual ~Classifier();
	virtual void train(FeatureResponse ** target, FeatureResponse ** data,float * data_weights, int nr_data);
	virtual void save(char * path);
	virtual bool load(char * path);
	virtual int getCost();
	virtual FeatureResponse * evaluate(IntegralImageFeature * iifeat,float w, float h,float item_size);
	virtual FeatureResponse * evaluate(FeatureResponse * data);
	virtual FeatureResponse ** batchEvaluate(FeatureResponse ** data, int nr_data);
};

};
#endif
